<%@ taglib prefix="s" uri="http://stripes.sourceforge.net/stripes.tld" %>
<%@ taglib prefix="f" uri="http://java.sun.com/jsp/jstl/fmt" %>
<s:errors/>
<table>
    <tr>
        <th><s:label for="b1"><f:message key="lecturer.entity.name"/></s:label></th>
        <td><s:text id="b1" name="lecturer.firstName"/></td>
    </tr>
    <tr>
        <th><s:label for="b2" ><f:message key="lecturer.entity.surname"/></s:label></th>
        <td><s:text id="b2" name="lecturer.lastName"/></td>
    </tr>
    <tr>
        <th><s:label for="b3"><f:message key="lecturer.entity.nativeSpeaker"/></s:label></th>
        <td><s:select id="b3" name="lecturer.nativeSpeaker">
                <s:options-enumeration enum="cz.muni.fi.pa165.languageschool.Language"/> 

            </s:select></td>
    </tr>
    <tr>
        <th><s:label for="b4"  ><f:message key="lecturer.entity.username"/></s:label></th>
        <td><s:text id="b4" name="lecturer.username"/></td>
    </tr>
    <tr>
        <th><s:label for="b5"  ><f:message key="lecturer.entity.password"/></s:label></th>
        <td><s:password id="b5" name="lecturer.password"/></td>
    </tr>

    <tr>
        <th><s:label for="b5"><f:message key="lecturer.entity.authority"/></s:label></th>
        <td><s:select id="b5" name="lecturer.authority" multiple="false">
                <s:options-enumeration enum="cz.muni.fi.pa165.languageschool.utils.Authority"/>     
            </s:select></td>
    </tr>

    <tr>
        <th><s:label for="b6"><f:message key="lecturer.entity.languages"/></s:label></th>
        <td><s:select id="b6" name="lecturer.languages" multiple="true" size="5">
                <s:options-enumeration enum="cz.muni.fi.pa165.languageschool.Language"/>   
            </s:select></td>
    </tr>
    <%--tr>
        <th><s:label for="b3" name="lecturer.entity.lectures"/></th>
        <td><s:select id="b3" name="lecturer.lectures">
                <s:options-collection collection="${actionBean.lectures}" value="id" label="code"/>
            </s:select></td>
    </tr--%>
</table>